package com.zwy.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zwy.domain.BaseData;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author zwy
 * @version 1.0
 * @description: (Category)表实体类
 * @date 2025/9/19 11:28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_category")
public class Category implements BaseData {
    //分类id
    private Long id;
    //分类名
    private String categoryName;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    //是否删除（0：未删除，1：已删除）
    private Integer isDeleted;
}
